package tt.dz.order.util.refund;

import tt.dz.order.exception.BusinessException;
import tt.dz.order.pojo.OrderInfo;

/**
 * 
 * 
 * @name 退款
 * @author Anson
 * @version 1.0
 * @summary
 * @desc
 *
 */
public interface RefundingRequest {

	/**
	 * 退款
	 * 
	 * @return
	 * @throws BusinessException
	 */
	boolean refund() throws BusinessException;

	/**
	 * 设置当前退款的订单
	 * @param refundOrder
	 */
	void setOrderInfo(OrderInfo refundOrder) ;
	
	/**
	 * 设置当前支付记录的关联订单号
	 * @param payRecordRelateOrder
	 */
	 void setPayRecordRelateOrder(OrderInfo payRecordRelateOrder);
	 
	 /**
	  * 退款理由
	  * @param reason
	  */
	  void setRefundReason(String reason);
}
